[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FT_PFLUSH()
Flush a NetWare capture buffer
------------------------------------------------------------------------------
Syntax
FT_PFLUSH( [ <nLPTPortNumber> ] ) -> NIL
Arguments
<nLPTPortNumber> is the captured LPT port number to flush. If the
parameter is omitted, the default port or LPT1: is used.
Returns
NIL
Description
This routine is used to force a Novell NetWare capture buffer to print
it's contents. This is useful for printing reports with a filter set
and you don't know how long it will be between print statements. With
a FT_PFLUSH() function at the end of any printing, you can have the
timeout value for any capture set to 0 (zero).
This routine was designed and written for Advanced NetWare 286 v 2.0 or
NetWare 386 v 3.0 or better. It has been tested on Advanced NetWare 286
v 2.15 rev A & C, NetWare 386 v 3.0.
This source code was written for Microsoft Macro Assembler v5.1.
Examples
(in DOS)
F:>CAPTURE S=ServerName Q=PrintQueueName TI=0 L=1
(in your Clipper application)
SET FILTER TO Left( FONELIST->PHONENUM, 3 ) == "415"
GO TOP
SET PRINT ON
DO WHILE .NOT. Eof()
? fonelist->lastname...
SKIP
ENDDO
FT_PFLUSH(1) && I could just say FT_PFLUSH() here as well.
Source: FLUSHCAP.ASM
Author: James R. Zack
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson